using System;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace Qiao.UserCenter.Entity
{
    /// <summary>
    /// 用户基本信息
    /// <summary>
    [Serializable]
    [DataContract]
    public partial class UserInfoEntity
    {
        /// <summary>
        /// 用户ID
        /// <summary>
        [Key]
        [DataMember]
        public int UserID { get; set; }

        /// <summary>
        /// 用户类型  0 内部用户   1普通用户 
        /// <summary>
        [DataMember]
        public int UserType { get; set; }

        /// <summary>
        /// 用户来源
        /// <summary>
        [DataMember]
        public int SourceId { get; set; }

        /// <summary>
        /// 昵称
        /// <summary>
        [DataMember]
        public string NickName { get; set; }

        /// <summary>
        /// 真实姓名
        /// <summary>
        [DataMember]
        public string RealName { get; set; }

        /// <summary>
        /// 手机号
        /// <summary>
        [DataMember]
        public string Mobile { get; set; }

        /// <summary>
        /// 用户头像URL地址
        /// <summary>
        [DataMember]
        public string AvatarUrl { get; set; }

        /// <summary>
        /// 邮箱
        /// <summary>
        [DataMember]
        public string Email { get; set; }

        /// <summary>
        /// 身份证
        /// <summary>
        [DataMember]
        public string IdCard { get; set; }

        /// <summary>
        /// 用户地址
        /// <summary>
        [DataMember]
        public string Address { get; set; }

        /// <summary>
        /// 创建时间
        /// <summary>
        [DataMember]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// <summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 逻辑标识位
        /// <summary>
        [DataMember]
        public int IsActive { get; set; }

    }
}
